loadTensorDataAsync
Load tensor data asynchronously by name.
Return
Raw bytes for the tensor
Parameters
name
The tensor name
Throws
if tensor not found
suspend fun StreamingOnnxReader.loadTensorDataAsync(tensor: StreamingOnnxTensorInfo): ByteArray(source)
Load tensor data asynchronously for a specific tensor.
Return
Raw bytes for the tensor
Parameters
tensor
The tensor info from tensors list
Throws
if tensor has no raw_data